﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ATM_Pro.Module
{
    public class Camera
    {
        public int ID { get; set; }
        public string Name { get; set; }

        /// <summary>
        /// 存放接收的包类型
        /// </summary>
        public PacketType InforType { get; set; }

        public Camera(int id, string name, PacketType type)
        {
            ID = id;
            Name = name;
            InforType = type;
        }

        public Camera(int id, PacketType type)
        {
            ID = id;
            InforType = type;
        }

        public Camera(int id, string name)
        {
            ID = id;
            Name = name;
        }
    }
}
